package spring.demo.aop;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableAspectJAutoProxy
@Configuration
public class CustomerConfig {


    @Bean
    public CustomerPlus customerPlus(){
        return new CustomerPlus();
    }

    @Bean
    public AopConfig aopConfig(){
        return new AopConfig();
    }
}
